Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: Add tests using IP address when creating or updating webhooks #5511

Conversation

frascuchon
Copy link
Member

@frascuchon frascuchon commented Sep 18, 2024

Description

Since URLs including IP addresses are allowed values when creating/updating webhooks, this PR only adds tests checking these scenarios.

Type of change

How Has This Been Tested

Checklist

  • I added relevant documentation
  • I followed the style guidelines of this project
  • I did a self-review of my code
  • I made corresponding changes to the documentation
  • I confirm My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)

@frascuchon frascuchon requested a review from jfcalvo September 18, 2024 13:32
Copy link

codecov bot commented Sep 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (feat/add-webhooks-feature-branch@97802e2). Learn more about missing BASE report.
Report is 3 commits behind head on feat/add-webhooks-feature-branch.

Additional details and impacted files
@@                         Coverage Diff                         @@
##             feat/add-webhooks-feature-branch    #5511   +/-   ##
===================================================================
  Coverage                                    ?   91.52%           
===================================================================
  Files                                       ?      158           
  Lines                                       ?     6345           
  Branches                                    ?        0           
===================================================================
  Hits                                        ?     5807           
  Misses                                      ?      538           
  Partials                                    ?        0           
Flag Coverage Δ
argilla-server 91.52% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

argilla-server/src/argilla_server/settings.py Outdated Show resolved Hide resolved
argilla-server/src/argilla_server/settings.py Outdated Show resolved Hide resolved
@frascuchon frascuchon requested a review from jfcalvo September 18, 2024 15:15
@frascuchon frascuchon changed the title [WIP] feat: Allow disable tld requirement for webhook URLs tests: Add tests using IP address when creating or updating webhooks Sep 18, 2024
@frascuchon frascuchon merged commit a26f008 into feat/add-webhooks-feature-branch Sep 19, 2024
6 checks passed
@frascuchon frascuchon deleted the feat/argilla-server/allow-disable-tld-url-restriction branch September 19, 2024 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants